﻿//var wmsServiceUrl = "http://203.236.216.30:7070/geoserver/test/wms";

function fn_init_map() {
	// fn_create_map();
}

function fn_create_map() {
	ginnoMap('map', 'WMS');
}
function fn_create_wms(options) {
	var wmsLayer = new OpenLayers.Layer.WMS(
		"wmsLayer", wmsServiceUrl,
		{
			layers: options.layers,
			format: 'image/png',
			version : "1.3.0",
			transparent: true
		},
		{
			isBaseLayer: true,
			singleTile : true,
			transitionEffect : "resize",
			ratio : 1.0,
		} 
	);
	return wmsLayer;
}